package org.cll.lagou.study.springbootdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 描述信息:
 *
 * @author CLL
 * @version 1.0
 * @date 2020/6/24 14:31
 */
@RestController
@RequestMapping(value = "/demo")
public class DemoController {

    @GetMapping(value = "/handler")
    public String handler() {
//        return "你好啊，SpringBoot";
        return "hello，SpringBoot";
    }
}